﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAssistantor.Model
{
    /// <summary>
    /// FDR文件结构描述
    /// </summary>
    [Serializable]
    [DisplayName("文件下载记录")]
    public class FileDownRecordStuct
    {
        /// <summary>
        /// 版权商标签
        /// </summary>
        public string CpName { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// 检索命中文件全路径
        /// </summary>
        public string RemoteName { get; set; }
        /// <summary>
        /// 文件本地存储名称及路径
        /// </summary>
        public string SaveName { get; set; }
        /// <summary>
        /// 文件大小
        /// </summary>
        public long FileSize { get; set; } = 0;
        /// <summary>
        /// 视频介质时长
        /// </summary>
        //public int FileLength { get; set; }
        /// <summary>
        /// 采集时间
        /// </summary>
        public DateTime GatherTime { get; set; }
        /// <summary>
        /// 采集结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 采集状态 0 待采集 1 采集成功 -1 采集失败
        /// </summary>
        public int State { get; set; }
    }
}
